/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package lab3serveurhttp;

/**
 *
 * @author Mathieu
 */
class HTTPException extends Exception
{
    private HTTPState state;
    
    public HTTPException(HTTPState state)
    {
        super(state.toString());
        this.state = state;
    }
    
    public HTTPState getState ( )
    {
        return this.state;
    }
}